package com.core.model.lxf;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-12-28
 * Time: 上午9:34
 * To change this template use File | Settings | File Templates.
 */
//@Entity
//@Table(name = "student")
public class Student {

    @Id
    private int sid;
    private String sname;
    private int sage;
    private String ssex;

    public Student() {
    }

    public Student(int sid, String sname, int sage, String ssex) {
        this.sid = sid;
        this.sname = sname;
        this.sage = sage;
        this.ssex = ssex;
    }
}
